objects = src/observer.o src/queue.o
CC = gcc
OBJ = main
$(OBJ): $(objects)
	$(CC) $(objects) -o $(OBJ) -lpthread

$(objects): include/queue.h include/udp.h
observer.o: src/observer.c
queue.o: src/queue.c

clean:
		rm src/*.o $(OBJ)
.PHONY:clean
